package org.jeecg.modules.zhoupackage.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.jeecg.modules.zhoupackage.mapper.ChooseStoreMapper;
import org.jeecg.modules.zhoupackage.pojo.MlccStoreInfo;
import org.jeecg.modules.zhoupackage.service.IChooseStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 面料下单选择门店service
 *
 * @author zxl
 * @since 20200922
 */
@Service
public class ChooseStoreServiceImpl implements IChooseStoreService {

    @Autowired
    ChooseStoreMapper mapper;

    /**
     * 面料下单界面选择门店，获取门店列表
     *
     * @return
     */
    @Override
    public List<MlccStoreInfo> getStoreList(String token) {
        QueryWrapper<MlccStoreInfo> wrapper = new QueryWrapper<>();

        return mapper.selectList(null);
    }
}
